package com.dto;


public class FreeRoomDTO {
	private Integer id;
	private String name;
	private String location;
	private String description;
	private Integer number;
	private Boolean status;
	
	// 使用时段
	private int useTime;
	public int getUseTime() {
		return useTime;
	}
	public void setUseTime(int useTime) {
		this.useTime = useTime;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Boolean getStatus() {
		return status;
	}
	public void setStatus(Boolean status) {
		this.status = status;
	}
	public FreeRoomDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public FreeRoomDTO(String name, String location, Integer number) {
		super();
		this.name = name;
		this.location = location;
		this.number = number;
		this.status=true;
	}
	@Override
	public String toString() {
		return "Room [id=" + id + ", name=" + name + ", location=" + location + ", description=" + description
				+ ", number=" + number + ", status=" + status + ", useTime=" + useTime + "]";
	}

	
}
